/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufc.quixada.adrs.comandos.visit;

import br.ufc.quixada.adrs.interfaces.Comando;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 *
 * @author ismaily
 */
public class CmdVisitRemoveAdrsSession implements Comando{

    public String executa(HttpServletRequest request, HttpServletResponse response) {

        HttpSession session= request.getSession(true);
        session.removeAttribute("adrs");
        session.removeAttribute("idAdrs");


        return "/visit/visit_gerenciar_adrs.jsp";
    }


}
